	<div class="pageContent" style="border-left:1px #B8D0D6 solid;border-right:1px #B8D0D6 solid">
		<div class="panelBar">
			<ul class="toolBar">
				<li><a class="icon" href="#" onclick="javascript:exports(this);" ><span>导出EXCEL</span></a></li>
			</ul>
		</div>
		
		<table class="list"  rel="jbsxBox" style="width:100%;" layoutH="200%">
			<thead>
			<tr>
				<th width="10%">时间</th>
				<th width="20%">渠道</th>
				<th width="10%">版本</th>
				<th width="20%">新增</th>
				<th width="20%">留存</th>
				<th width="20%">次日留存</th>
			</tr>
			</thead>

			<tbody>
			<volist id="event" name="list">
				<tr>
					<td>{$key}</td>
					<td colspan="5"></td>
				</tr>
				<volist id="val" name="event">
					<tr>
						<td></td>
						<td>{$key}</td>
						<td colspan="4"></td>
					</tr>
					<php>$data = [];</php>
					<volist id="val2" name="val">
						<tr>
							<td colspan="2"></td>
							<td>{$key}</td>
							<td>
								<?php
								//新增
								echo $data["active"][] = $val2['active'];
								?>
							</td>
							<td>
								<?php
								//留存
								echo $data['retain'][] = $val2['retain'];
								?>
							</td>
							<td>
								<?php
								//次日留存
								echo $data['day_2'][] = $val2['day_2'];
								?>
							</td>
						</tr>

					</volist>
					<tr>
						<td colspan="2"></td>
						<td>合计</td>
						<td data-sort="-1">{$data["active"]|array_sum}</td>
						<td></td>
						<td></td>
					</tr>
				</volist>
			</volist>
			<tr><td colspan="6">done</td></tr>
			</tbody>
		</table>
	</div>
	
	<script>
		$('#table_<?php echo $page_id;?>').dataTable({
			"info": false,
			"paging": false,
			"searching": false,
		});
	</script>